package com.wisdomparking.service;

import java.util.List;
import java.util.Map;

import com.wisdomparking.bean.Rawdata;

public interface RawdataService {
	/**
	 * 添加
	 * @param en
	 * @param sign
	 * @return boolean
	 */
	public boolean addRawdata(Rawdata en, boolean sign);
	
	/**
	 * 修改
	 * @param en
	 * @param sign
	 * @return boolean
	 */
	public boolean updateRawdata(Rawdata en, boolean sign);
	
	/**
	 * 删除
	 * @param id
	 * @return boolean
	 */
	public boolean deleteRawdataById(Integer id);
	
	/**
	 * 查询
	 * @param id
	 * @return Rawdata
	 */
	public Rawdata getRawdata(Integer id);
	
	/**
	 * 查询
	 * @param RawdataNumber
	 * @return
	 */
	public Rawdata getRawdataByIdentification(String identification);

	
	/**
	 * 获取对象列表
	 * @param map
	 * @return
	 */
	public List<Rawdata> getRawdataList(Map<String, Object> map);
	
	/**
	 * 获取记录总条数
	 * @param map
	 * @return long
	 */
	public long getCountByRawdata(Map<String, Object> map);
}
